﻿using com.guojin.core.io.message;
using com.guojin.core.io;

namespace com.guojin.mj.net.message.login
{
    public class HistoryRoom : Message
    {
        public static int TYPE = 7;
        public static int ID = 133;

        public string Date;//日期
        public string Time;//创建时间
        public string RoomName;//名字
        public int RoomID;//房间ID
        public int Difen;//
        public string RoomTime;//房间时长
        public int RoomScore;//战绩积分
        public string head;//头像下载地址
        public void decode(core.io.Input _in)
        {
            Date = _in.readString();
            Time = _in.readString();
            RoomName = _in.readString();
            RoomID = int.Parse(_in.readString());
            Difen = _in.readInt();
            RoomTime = _in.readString();
            RoomScore = _in.readInt();
            head = _in.readString();
        }
        public void encode(Output _out)
        {

        }
        public int getMessageId()
        {
            return ID;
        }
        public int getMessageType()
        {
            return TYPE;
        }

        public string toString()
        {
            return "";
        }
    }
}
